import { AnyObj } from "../types/common";
import { getApi } from "../utils/api";

export const fetchBookList = (params: AnyObj = {}) => {
  return getApi("/bookList", {
    ...params,
  });
};